package com.weipai.demo.service;

import com.weipai.demo.model.LoansManager;
import com.weipai.demo.model.ManagerProduct;
import com.weipai.demo.util.LayuiTablePagingResult;
import com.weipai.demo.util.Response;

/**
 * @Author: 赵项阳
 * @Date: 2019/6/22 11:41
 * @Version 1.0
 */
public interface LoansManagerService {

    Response register(LoansManager LoansManager);

    LayuiTablePagingResult managerShow(Integer page,Integer size,Integer status);

    Response isStatus(Integer id, Integer status);

    Response changePay(Integer id);

    Response showKey(Integer status);

    Response show(String phone);


    Response savePicture(LoansManager loansManager);

    Response saveProduct(ManagerProduct managerProduct);

    LayuiTablePagingResult showPage(Integer page,Integer size,String status,String managerPhone);

    Response particulars(Integer id);

    Response upOrDown(Integer id, String status);

    Response deleteProduct(Integer id);

    Response change(LoansManager loansManager);

    Response recommendList(Integer page,Integer size);

    LayuiTablePagingResult search(Integer page,Integer size,ManagerProduct managerProduct);

    LayuiTablePagingResult managerSearch(Integer page, Integer size, String productName, String status, String createTime,String createTimes,Integer publishStatus,String managerPhone);

    LayuiTablePagingResult interestAndSupply(Integer page, Integer size, String totleFee, String monthlySupply);

    Response getDetail(Integer id);

    Response changeStatus(Integer id,Integer publishStatus);

    Response getOrder(String phone);
}

